//
//  WYCRechargeBankController.m
//  51信用卡
//
//  Created by 中企互联 on 2017/11/3.
//  Copyright © 2017年 中企互联. All rights reserved.
//

#import "WYCRechargeBankController.h"

@interface WYCRechargeBankController ()

@end

@implementation WYCRechargeBankController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    //setNav
    [self setupNav];
}

#pragma make -------->>setNav
- (void)setupNav {
    self.navigationItem.title = @"建设银行(8153)";
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    
    
    //右侧按钮
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem itemWithTitle:@"解绑" target:self action:@selector(UnbundlingClick)];
    
    
    self.view.backgroundColor = WYZBlackBg;
}
#pragma make ------>>进入控制器隐藏
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    
   [self.navigationController.navigationBar setBarTintColor:WYZBlackBg];
}
#pragma make ------>>离开控制器显示
- (void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
    
    [self.navigationController.navigationBar setBarTintColor:WYCMain];
}

#pragma make ------->>解绑
- (void)UnbundlingClick{
    WYCLogFunc;
    
}
@end
